Skip to main content

All Questions

2votes
2answers
299views

How is it possible to create >65000 entries in an ext4 directory despite the large_dir flag not being present?

So, I'm trying to understand FileSystem feature flags a little bit better. For what I could find, according to man ext4 a single directory in a ext4 FS can host up to 64,998 subdirectories. Normally, ...
S_Luis's user avatar
0votes
0answers
21views

Ubuntu 16.10 and USB disk corruption

This I used as a server and has a RAID 1 mdadm SATA disks. The RAID array is OK. I backup the RAID array to a USB disk. It has been like this for years. I tried to run a backup and mounted the USB ...
Leigh Bowden's user avatar
2votes
1answer
2kviews

File timestamps precision - ext3 with nanoseconds, ext4 with milliseconds

People say ext3 supports file timestamp precision up to seconds and ext4 up to nanoseconds. What happens is that my old VPS running Ubuntu 12.04 with an ext3 filesystem always (as far as I can ...
Ricardo's user avatar
0votes
0answers
458views

Why does partition flip from rw to ro unasked and how do I fix this?

I am running Ubuntu 18.04 kernel 4.15.0-72-generic #81-Ubuntu SMP (26Nov2019) on a cheap HP laptop with 8G of memory and 1TB hard drive. I have three partitions: /dev/sda1 on /boot/efi (automatic ...
Richard O'Keefe's user avatar
2votes
0answers
266views

Recover accidentally deleted custom files

I accidentally deleted important custom (not known-or-commercial) files from my scientific researches on image processing. I created the files by collecting raw digital signals from an image sensor. ...
meetnick's user avatar
1vote
0answers
1kviews

Corrupt ext4 file system

I have a RAID 1 (hardware) array, where the system crashed, and I removed the hard drives. It is my understanding that a RAID 1 drive should work as an individual drive, as the RAID data is stored at ...
Kyle's user avatar
  • 687
1vote
1answer
4kviews

I/O error after power failure, filesystem remounting as read-only [closed]

I have a production ESXI server with loads of VMs. I had a power outage a few hours ago that was so long my UPS's battery drained. The automatic shutdown mechanism wasn't working for some reason so ...
László Dobó's user avatar
51votes
8answers
243kviews

Cannot remove file: "Structure needs cleaning"

I have an external hard drive which is encrypted via LUKS. It contains an ext4 fs. I just got an error from rsync for a file which is located on this drive: rsync: readlink_stat("/home/some/dir/...
Rotareti's user avatar
1vote
1answer
516views

EXT4 requiring twice as much storage space - Ubuntu / Beets

I have a question I'm struggling to research an answer for. I am building a Ubuntu media server at home and decided to carve up my 2TB bulk storage disk into various partitions. I created a 700GB ...
Chris Finlayson's user avatar
2votes
1answer
3kviews

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
piotre's user avatar
4votes
1answer
9kviews

ext4 filesystems frequently corrupting

We have occasional power outages in our environment which seems to cause data corruption on our Ubuntu machines with ext4 filesystems. To my understanding ext4's default is to use data=ordered ...
cheesesticksricepuck's user avatar
5votes
3answers
14kviews

How can I change the date modified of a folder to the last changed file inside? [duplicate]

In my media center directory all modified times of my folders are somehow not the desired date. How can I change all modified times of the main folders to the modified time of the newest media-file ...
rubo77's user avatar
  • 30.2k

close